// import common from './module/zh-Hans/common'
// import login from './module/zh-Hans/login'
// import me from './module/zh-Hans/me'
// import qcReport from './module/zh-Hans/qcReport'
// import course from './module/zh-Hans/course'
// import projectList from './module/zh-Hans/projectList'
// import projectDetails from './module/zh-Hans/projectDetails'
//
// export default {
//   common,
//   login,
//   me,
//   qcReport,
//   course,
//   projectList,
//   projectDetails
// }

const files = require.context('./module/zh-Hans', false, /\.js$/)

export default files.keys().reduce((res, key) => {
  const objKey = key.replace('./', '').replace('.js', '')
  res[objKey] = files(key).default
  return res
}, {})
